|
ReactOS 0.4.17-dev-934-g091855f
|

Go to the source code of this file.
| #define WINED3D_PERIODIC_SUBMIT_MAX_BUFFERS 3 |
Definition at line 1785 of file context_vk.c.
| #define WINED3D_PERIODIC_SUBMIT_WORK_COUNT 512 |
Definition at line 1784 of file context_vk.c.
| #define X (VK_COLOR_COMPONENT_R_BIT | VK_COLOR_COMPONENT_G_BIT | VK_COLOR_COMPONENT_B_BIT | VK_COLOR_COMPONENT_A_BIT) |
|
static |
Definition at line 2353 of file context_vk.c.
Referenced by wined3d_context_vk_set_dynamic_blend_state(), and wined3d_context_vk_update_blend_state().
|
static |
Definition at line 1147 of file context_vk.c.
Referenced by wined3d_context_vk_cleanup(), and wined3d_context_vk_remove_command_buffer().
|
static |
Definition at line 2268 of file context_vk.c.
Referenced by wined3d_context_vk_set_dynamic_rasterizer_state(), and wined3d_context_vk_update_graphics_pipeline_key().
|
static |
Definition at line 1787 of file context_vk.c.
Referenced by wined3d_context_vk_get_command_buffer().
|
static |
Definition at line 81 of file context_vk.c.
Referenced by blend_equation_from_wined3d().
|
static |
Definition at line 134 of file context_vk.c.
Referenced by blend_equation_from_wined3d().
|
static |
Definition at line 154 of file context_vk.c.
Referenced by wined3d_context_vk_set_dynamic_blend_state(), and wined3d_context_vk_update_blend_state().
| VkCompareOp vk_compare_op_from_wined3d | ( | enum wined3d_cmp_func | op | ) |
Definition at line 30 of file context_vk.c.
Referenced by wined3d_context_vk_apply_draw_state(), wined3d_context_vk_update_graphics_pipeline_key(), and wined3d_sampler_vk_cs_init().
|
static |
Definition at line 170 of file context_vk.c.
Referenced by rasterizer_state_from_wined3d().
|
static |
Definition at line 2467 of file context_vk.c.
Referenced by wined3d_context_vk_update_graphics_pipeline_key().
| VkShaderStageFlagBits vk_shader_stage_from_wined3d | ( | enum wined3d_shader_type | shader_type | ) |
Definition at line 59 of file context_vk.c.
Referenced by shader_spirv_resource_bindings_init(), and wined3d_context_vk_update_graphics_pipeline_key().
|
static |
Definition at line 249 of file context_vk.c.
Referenced by wined3d_context_vk_apply_draw_state(), and wined3d_context_vk_update_graphics_pipeline_key().
|
static |
Definition at line 219 of file context_vk.c.
Referenced by wined3d_context_vk_update_graphics_pipeline_key().
|
static |
Definition at line 186 of file context_vk.c.
Referenced by wined3d_context_vk_apply_draw_state(), and wined3d_context_vk_update_graphics_pipeline_key().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | d3d | ) |
|
static |
Definition at line 294 of file context_vk.c.
Referenced by wined3d_allocator_chunk_vk_map(), and wined3d_allocator_chunk_vk_unmap().
| void * wined3d_allocator_chunk_vk_map | ( | struct wined3d_allocator_chunk_vk * | chunk_vk, |
| struct wined3d_context_vk * | context_vk | ||
| ) |
Definition at line 304 of file context_vk.c.
Referenced by wined3d_bo_vk_map().
|
static |
Definition at line 299 of file context_vk.c.
Referenced by wined3d_allocator_chunk_vk_map(), and wined3d_allocator_chunk_vk_unmap().
| void wined3d_allocator_chunk_vk_unmap | ( | struct wined3d_allocator_chunk_vk * | chunk_vk, |
| struct wined3d_context_vk * | context_vk | ||
| ) |
Definition at line 338 of file context_vk.c.
Referenced by wined3d_bo_vk_unmap(), and wined3d_context_vk_destroy_bo().
|
static |
Definition at line 2139 of file context_vk.c.
Referenced by wined3d_context_vk_init().
|
static |
Definition at line 826 of file context_vk.c.
Referenced by wined3d_context_vk_cleanup_resources(), and wined3d_context_vk_destroy_bo_slab_slice().
|
static |
Definition at line 384 of file context_vk.c.
Referenced by wined3d_context_vk_create_bo(), and wined3d_context_vk_create_image().
| bool wined3d_context_vk_allocate_query | ( | struct wined3d_context_vk * | context_vk, |
| enum wined3d_query_type | type, | ||
| struct wined3d_query_pool_idx_vk * | pool_idx | ||
| ) |
Definition at line 1623 of file context_vk.c.
Referenced by wined3d_context_vk_end_current_render_pass(), wined3d_context_vk_get_command_buffer(), wined3d_query_timestamp_vk_issue(), and wined3d_query_vk_issue().
| VkDeviceMemory wined3d_context_vk_allocate_vram_chunk_memory | ( | struct wined3d_context_vk * | context_vk, |
| unsigned int | pool, | ||
| size_t | size | ||
| ) |
Definition at line 362 of file context_vk.c.
Referenced by wined3d_allocator_vk_create_chunk(), and wined3d_context_vk_allocate_memory().
| VkCommandBuffer wined3d_context_vk_apply_compute_state | ( | struct wined3d_context_vk * | context_vk, |
| const struct wined3d_state * | state, | ||
| struct wined3d_buffer_vk * | indirect_vk | ||
| ) |
Definition at line 4080 of file context_vk.c.
Referenced by adapter_vk_dispatch_compute().
| VkCommandBuffer wined3d_context_vk_apply_draw_state | ( | struct wined3d_context_vk * | context_vk, |
| const struct wined3d_state * | state, | ||
| struct wined3d_buffer_vk * | indirect_vk, | ||
| bool | indexed | ||
| ) |
Definition at line 3722 of file context_vk.c.
Referenced by adapter_vk_draw_primitive().
|
static |
Definition at line 2734 of file context_vk.c.
Referenced by wined3d_context_vk_apply_draw_state().
|
static |
Definition at line 2934 of file context_vk.c.
Referenced by wined3d_context_vk_apply_draw_state().
|
static |
Definition at line 2896 of file context_vk.c.
Referenced by wined3d_context_vk_apply_draw_state().
| void wined3d_context_vk_cleanup | ( | struct wined3d_context_vk * | context_vk | ) |
Definition at line 1725 of file context_vk.c.
Referenced by adapter_vk_init_3d(), and adapter_vk_uninit_3d().
|
static |
Definition at line 1174 of file context_vk.c.
Referenced by wined3d_context_vk_cleanup(), wined3d_context_vk_submit_command_buffer(), and wined3d_context_vk_wait_command_buffer().
| BOOL wined3d_context_vk_create_bo | ( | struct wined3d_context_vk * | context_vk, |
| VkDeviceSize | size, | ||
| VkBufferUsageFlags | usage, | ||
| VkMemoryPropertyFlags | memory_type, | ||
| struct wined3d_bo_vk * | bo | ||
| ) |
Definition at line 528 of file context_vk.c.
Referenced by adapter_vk_alloc_bo(), adapter_vk_copy_bo_address(), adapter_vk_map_bo_address(), wined3d_buffer_vk_create_buffer_object(), wined3d_context_vk_bind_stream_output_buffers(), wined3d_context_vk_create_slab_bo(), wined3d_device_vk_create_null_resources(), wined3d_texture_vk_download_data(), wined3d_texture_vk_prepare_buffer_object(), wined3d_texture_vk_upload_data(), wined3d_unordered_access_view_vk_clear(), and wined3d_unordered_access_view_vk_cs_init().
| BOOL wined3d_context_vk_create_image | ( | struct wined3d_context_vk * | context_vk, |
| VkImageType | vk_image_type, | ||
| VkImageUsageFlags | usage, | ||
| VkFormat | vk_format, | ||
| unsigned int | width, | ||
| unsigned int | height, | ||
| unsigned int | depth, | ||
| unsigned int | sample_count, | ||
| unsigned int | mip_levels, | ||
| unsigned int | layer_count, | ||
| unsigned int | flags, | ||
| struct wined3d_image_vk * | image | ||
| ) |
Definition at line 610 of file context_vk.c.
Referenced by vk_blitter_blit(), wined3d_null_image_vk_init(), and wined3d_texture_vk_prepare_texture().
|
static |
Definition at line 423 of file context_vk.c.
Referenced by wined3d_context_vk_create_bo().
|
static |
Definition at line 2994 of file context_vk.c.
Referenced by wined3d_context_vk_get_vk_descriptor_pool().
| VkDescriptorSet wined3d_context_vk_create_vk_descriptor_set | ( | struct wined3d_context_vk * | context_vk, |
| VkDescriptorSetLayout | vk_set_layout | ||
| ) |
Definition at line 3048 of file context_vk.c.
Referenced by wined3d_context_vk_update_descriptors(), and wined3d_unordered_access_view_vk_clear().
|
static |
Definition at line 3423 of file context_vk.c.
Referenced by wined3d_context_vk_get_pipeline_layout().
| void wined3d_context_vk_destroy_allocator_block | ( | struct wined3d_context_vk * | context_vk, |
| struct wined3d_allocator_block * | block, | ||
| uint64_t | command_buffer_id | ||
| ) |
Definition at line 803 of file context_vk.c.
Referenced by wined3d_context_vk_destroy_bo(), and wined3d_context_vk_destroy_image().
| void wined3d_context_vk_destroy_bo | ( | struct wined3d_context_vk * | context_vk, |
| const struct wined3d_bo_vk * | bo | ||
| ) |
Definition at line 1106 of file context_vk.c.
Referenced by adapter_vk_copy_bo_address(), adapter_vk_destroy_bo(), adapter_vk_map_bo_address(), wined3d_buffer_vk_unload_location(), wined3d_context_vk_cleanup(), wined3d_context_vk_destroy_bo_slab(), wined3d_device_vk_create_null_resources(), wined3d_device_vk_destroy_null_resources(), wined3d_texture_vk_download_data(), wined3d_texture_vk_unload_location(), wined3d_texture_vk_upload_data(), wined3d_unordered_access_view_vk_clear(), and wined3d_view_vk_destroy_object().
|
static |
Definition at line 1300 of file context_vk.c.
Referenced by wined3d_context_vk_cleanup().
|
static |
Definition at line 858 of file context_vk.c.
Referenced by wined3d_context_vk_destroy_bo().
|
static |
Definition at line 1315 of file context_vk.c.
Referenced by wined3d_context_vk_cleanup().
| void wined3d_context_vk_destroy_image | ( | struct wined3d_context_vk * | context_vk, |
| struct wined3d_image_vk * | image | ||
| ) |
Definition at line 1092 of file context_vk.c.
Referenced by vk_blitter_blit(), wined3d_device_vk_create_null_resources(), wined3d_device_vk_destroy_null_resources(), and wined3d_texture_vk_unload_location().
|
static |
Definition at line 1330 of file context_vk.c.
Referenced by wined3d_context_vk_cleanup().
|
static |
Definition at line 1612 of file context_vk.c.
Referenced by wined3d_context_vk_cleanup().
|
static |
Definition at line 1598 of file context_vk.c.
Referenced by wined3d_context_vk_cleanup().
|
static |
Definition at line 881 of file context_vk.c.
Referenced by wined3d_context_vk_destroy_bo().
| void wined3d_context_vk_destroy_vk_buffer_view | ( | struct wined3d_context_vk * | context_vk, |
| VkBufferView | vk_view, | ||
| uint64_t | command_buffer_id | ||
| ) |
Definition at line 931 of file context_vk.c.
Referenced by wined3d_device_vk_destroy_null_views(), wined3d_shader_resource_view_vk_update_buffer(), wined3d_unordered_access_view_vk_clear(), wined3d_unordered_access_view_vk_update(), and wined3d_view_vk_destroy_object().
| void wined3d_context_vk_destroy_vk_event | ( | struct wined3d_context_vk * | context_vk, |
| VkEvent | vk_event, | ||
| uint64_t | command_buffer_id | ||
| ) |
Definition at line 1067 of file context_vk.c.
Referenced by wined3d_query_event_vk_issue(), and wined3d_query_vk_destroy().
| void wined3d_context_vk_destroy_vk_framebuffer | ( | struct wined3d_context_vk * | context_vk, |
| VkFramebuffer | vk_framebuffer, | ||
| uint64_t | command_buffer_id | ||
| ) |
Definition at line 712 of file context_vk.c.
Referenced by vk_blitter_clear_rendertargets(), and wined3d_context_vk_end_current_render_pass().
| void wined3d_context_vk_destroy_vk_image | ( | struct wined3d_context_vk * | context_vk, |
| VkImage | vk_image, | ||
| uint64_t | command_buffer_id | ||
| ) |
Definition at line 906 of file context_vk.c.
Referenced by wined3d_context_vk_destroy_image().
| void wined3d_context_vk_destroy_vk_image_view | ( | struct wined3d_context_vk * | context_vk, |
| VkImageView | vk_view, | ||
| uint64_t | command_buffer_id | ||
| ) |
Definition at line 956 of file context_vk.c.
Referenced by wined3d_device_vk_destroy_null_views(), wined3d_texture_vk_unload_location(), wined3d_unordered_access_view_vk_clear(), and wined3d_view_vk_destroy_object().
| void wined3d_context_vk_destroy_vk_memory | ( | struct wined3d_context_vk * | context_vk, |
| VkDeviceMemory | vk_memory, | ||
| uint64_t | command_buffer_id | ||
| ) |
Definition at line 778 of file context_vk.c.
Referenced by wined3d_context_vk_destroy_bo(), and wined3d_context_vk_destroy_image().
| void wined3d_context_vk_destroy_vk_pipeline | ( | struct wined3d_context_vk * | context_vk, |
| VkPipeline | vk_pipeline, | ||
| uint64_t | command_buffer_id | ||
| ) |
Definition at line 1016 of file context_vk.c.
Referenced by shader_spirv_destroy_compute_vk().
| void wined3d_context_vk_destroy_vk_sampler | ( | struct wined3d_context_vk * | context_vk, |
| VkSampler | vk_sampler, | ||
| uint64_t | command_buffer_id | ||
| ) |
Definition at line 1042 of file context_vk.c.
Referenced by wined3d_sampler_vk_destroy_object().
| void wined3d_context_vk_end_current_render_pass | ( | struct wined3d_context_vk * | context_vk | ) |
Definition at line 1564 of file context_vk.c.
Referenced by adapter_vk_copy_bo_address(), adapter_vk_map_bo_address(), vk_blitter_clear_rendertargets(), wined3d_buffer_vk_barrier(), wined3d_context_vk_allocate_query(), wined3d_context_vk_apply_compute_state(), wined3d_context_vk_apply_draw_state(), wined3d_context_vk_image_barrier(), wined3d_context_vk_prepare_used_rtv(), wined3d_context_vk_submit_command_buffer(), wined3d_query_event_vk_issue(), wined3d_query_vk_issue(), wined3d_swapchain_vk_blit(), wined3d_texture_vk_clear(), wined3d_texture_vk_download_data(), wined3d_texture_vk_upload_data(), wined3d_unordered_access_view_vk_clear(), and wined3d_unordered_access_view_vk_cs_init().
|
static |
Definition at line 413 of file context_vk.c.
Referenced by wined3d_context_vk_cleanup_resources(), wined3d_context_vk_create_bo(), wined3d_context_vk_create_image(), and wined3d_context_vk_destroy_allocator_block().
| VkCommandBuffer wined3d_context_vk_get_command_buffer | ( | struct wined3d_context_vk * | context_vk | ) |
Definition at line 1805 of file context_vk.c.
Referenced by adapter_vk_copy_bo_address(), adapter_vk_map_bo_address(), vk_blitter_blit(), vk_blitter_clear_rendertargets(), wined3d_buffer_vk_barrier(), wined3d_context_vk_allocate_query(), wined3d_context_vk_apply_compute_state(), wined3d_context_vk_begin_render_pass(), wined3d_device_vk_create_null_resources(), wined3d_query_event_vk_issue(), wined3d_query_timestamp_vk_issue(), wined3d_query_vk_issue(), wined3d_shader_resource_view_vk_generate_mipmap(), wined3d_swapchain_vk_blit(), wined3d_texture_vk_barrier(), wined3d_texture_vk_clear(), wined3d_texture_vk_download_data(), wined3d_texture_vk_make_generic(), wined3d_texture_vk_prepare_texture(), wined3d_texture_vk_upload_data(), wined3d_unordered_access_view_vk_clear(), and wined3d_unordered_access_view_vk_cs_init().
|
static |
Definition at line 3507 of file context_vk.c.
Referenced by wined3d_context_vk_apply_draw_state().
| struct wined3d_pipeline_layout_vk * wined3d_context_vk_get_pipeline_layout | ( | struct wined3d_context_vk * | context_vk, |
| VkDescriptorSetLayoutBinding * | bindings, | ||
| SIZE_T | binding_count | ||
| ) |
Definition at line 3442 of file context_vk.c.
Referenced by shader_spirv_apply_draw_state(), shader_spirv_find_compute_program_vk(), and wined3d_device_vk_uav_clear_state_init().
| VkRenderPass wined3d_context_vk_get_render_pass | ( | struct wined3d_context_vk * | context_vk, |
| const struct wined3d_fb_state * | fb, | ||
| unsigned int | rt_count, | ||
| bool | depth_stencil, | ||
| uint32_t | clear_flags | ||
| ) |
Definition at line 1533 of file context_vk.c.
Referenced by vk_blitter_clear_rendertargets(), and wined3d_context_vk_begin_render_pass().
|
static |
Definition at line 693 of file context_vk.c.
Referenced by wined3d_context_vk_destroy_allocator_block(), wined3d_context_vk_destroy_bo_slab_slice(), wined3d_context_vk_destroy_vk_buffer(), wined3d_context_vk_destroy_vk_buffer_view(), wined3d_context_vk_destroy_vk_event(), wined3d_context_vk_destroy_vk_framebuffer(), wined3d_context_vk_destroy_vk_image(), wined3d_context_vk_destroy_vk_image_view(), wined3d_context_vk_destroy_vk_memory(), wined3d_context_vk_destroy_vk_pipeline(), wined3d_context_vk_destroy_vk_sampler(), wined3d_context_vk_reset_completed_queries(), and wined3d_context_vk_reset_vk_descriptor_pool().
| VkDescriptorPool wined3d_context_vk_get_vk_descriptor_pool | ( | struct wined3d_context_vk * | context_vk | ) |
Definition at line 3023 of file context_vk.c.
Referenced by wined3d_context_vk_create_vk_descriptor_set().
| void wined3d_context_vk_image_barrier | ( | struct wined3d_context_vk * | context_vk, |
| VkCommandBuffer | vk_command_buffer, | ||
| VkPipelineStageFlags | src_stage_mask, | ||
| VkPipelineStageFlags | dst_stage_mask, | ||
| VkAccessFlags | src_access_mask, | ||
| VkAccessFlags | dst_access_mask, | ||
| VkImageLayout | old_layout, | ||
| VkImageLayout | new_layout, | ||
| VkImage | image, | ||
| const VkImageSubresourceRange * | range | ||
| ) |
Definition at line 2022 of file context_vk.c.
Referenced by vk_blitter_blit(), wined3d_null_image_vk_init(), wined3d_shader_resource_view_vk_generate_mipmap(), wined3d_swapchain_vk_blit(), wined3d_texture_vk_barrier(), wined3d_texture_vk_clear(), wined3d_texture_vk_download_data(), wined3d_texture_vk_make_generic(), wined3d_texture_vk_prepare_texture(), and wined3d_texture_vk_upload_data().
| HRESULT wined3d_context_vk_init | ( | struct wined3d_context_vk * | context_vk, |
| struct wined3d_swapchain * | swapchain | ||
| ) |
Definition at line 4151 of file context_vk.c.
Referenced by adapter_vk_init_3d().
|
static |
Definition at line 2152 of file context_vk.c.
Referenced by wined3d_context_vk_init().
|
static |
Definition at line 3538 of file context_vk.c.
Referenced by wined3d_context_vk_apply_draw_state().
|
static |
Definition at line 3593 of file context_vk.c.
Referenced by wined3d_context_vk_apply_compute_state(), and wined3d_context_vk_apply_draw_state().
|
static |
Definition at line 3708 of file context_vk.c.
Referenced by wined3d_context_vk_apply_draw_state().
|
static |
Definition at line 1157 of file context_vk.c.
Referenced by wined3d_context_vk_cleanup_resources(), and wined3d_context_vk_wait_command_buffer().
|
static |
Definition at line 981 of file context_vk.c.
Referenced by wined3d_context_vk_submit_command_buffer().
|
static |
Definition at line 755 of file context_vk.c.
Referenced by wined3d_context_vk_create_vk_descriptor_set().
|
static |
Definition at line 737 of file context_vk.c.
Referenced by wined3d_context_vk_cleanup_resources(), and wined3d_context_vk_reset_vk_descriptor_pool().
|
static |
Definition at line 2427 of file context_vk.c.
Referenced by wined3d_context_vk_apply_draw_state().
|
static |
Definition at line 2335 of file context_vk.c.
Referenced by wined3d_context_vk_apply_draw_state().
| void wined3d_context_vk_submit_command_buffer | ( | struct wined3d_context_vk * | context_vk, |
| unsigned int | wait_semaphore_count, | ||
| const VkSemaphore * | wait_semaphores, | ||
| const VkPipelineStageFlags * | wait_stages, | ||
| unsigned int | signal_semaphore_count, | ||
| const VkSemaphore * | signal_semaphores | ||
| ) |
Definition at line 1896 of file context_vk.c.
Referenced by adapter_vk_flush_context(), adapter_vk_map_bo_address(), wined3d_context_vk_get_command_buffer(), wined3d_swapchain_vk_blit(), and wined3d_texture_vk_download_data().
|
static |
Definition at line 2387 of file context_vk.c.
Referenced by wined3d_context_vk_update_graphics_pipeline_key().
|
static |
Definition at line 3331 of file context_vk.c.
Referenced by wined3d_context_vk_apply_compute_state(), and wined3d_context_vk_apply_draw_state().
|
static |
Definition at line 2482 of file context_vk.c.
Referenced by wined3d_context_vk_apply_draw_state().
| void wined3d_context_vk_wait_command_buffer | ( | struct wined3d_context_vk * | context_vk, |
| uint64_t | id | ||
| ) |
Definition at line 1990 of file context_vk.c.
Referenced by adapter_vk_map_bo_address(), wined3d_context_vk_cleanup(), wined3d_context_vk_submit_command_buffer(), wined3d_swapchain_vk_blit(), and wined3d_texture_vk_download_data().
|
static |
Definition at line 278 of file context_vk.c.
Referenced by wined3d_context_vk_update_graphics_pipeline_key().
|
static |
Definition at line 2067 of file context_vk.c.
Referenced by wined3d_context_vk_init().
|
static |
Definition at line 2055 of file context_vk.c.
Referenced by wined3d_context_vk_init().
|
static |
Definition at line 1347 of file context_vk.c.
Referenced by wined3d_context_vk_get_render_pass().
|
static |
Definition at line 1399 of file context_vk.c.
Referenced by wined3d_context_vk_destroy_render_pass(), and wined3d_context_vk_get_render_pass().
|
static |
Definition at line 2046 of file context_vk.c.
Referenced by wined3d_context_vk_init().
|
static |
Definition at line 1408 of file context_vk.c.
Referenced by wined3d_context_vk_get_render_pass().
|
static |
Definition at line 3176 of file context_vk.c.
Referenced by wined3d_context_vk_update_descriptors().
|
static |
Definition at line 3316 of file context_vk.c.
Referenced by wined3d_context_vk_update_descriptors().
|
static |
Definition at line 3200 of file context_vk.c.
Referenced by wined3d_context_vk_update_descriptors().
|
static |
Definition at line 3294 of file context_vk.c.
Referenced by wined3d_context_vk_update_descriptors().
|
static |
Definition at line 3248 of file context_vk.c.
Referenced by wined3d_context_vk_update_descriptors().
|
static |
Definition at line 3090 of file context_vk.c.
Referenced by wined3d_shader_descriptor_writes_vk_add_cbv_write(), wined3d_shader_descriptor_writes_vk_add_sampler_write(), wined3d_shader_descriptor_writes_vk_add_srv_write(), wined3d_shader_descriptor_writes_vk_add_uav_counter_write(), wined3d_shader_descriptor_writes_vk_add_uav_write(), and wined3d_shader_resource_bindings_add_null_srv_binding().
|
static |
Definition at line 1607 of file context_vk.c.
Referenced by wined3d_context_vk_cleanup().
|
static |
Definition at line 3119 of file context_vk.c.
Referenced by wined3d_shader_descriptor_writes_vk_add_srv_write().