1
0
Fork 0
forked from suyu/suyu
suyu/src/video_core/renderer_vulkan
ReinUsesLisp 488ed8bd02 vk_rasterizer: Add lazy default buffer maker and use it for empty buffers
Introduce a default buffer getter that lazily constructs an empty
buffer. This is intended to match OpenGL's buffer 0.

Use this for disabled vertex and uniform buffers.

While we are at it, include vertex buffer usages for staging buffers to
silence validation errors.
2020-04-21 19:55:52 -03:00
..
shaders vk_compute_pass: Implement indexed quads 2020-04-16 21:12:32 -03:00
fixed_pipeline_state.cpp fixed_pipeline_state: Hash and compare the whole structure 2020-04-18 19:57:26 -03:00
fixed_pipeline_state.h fixed_pipeline_state: Hash and compare the whole structure 2020-04-18 19:57:26 -03:00
maxwell_to_vk.cpp maxwell_to_vk: Add uint16 vertex formats 2020-04-15 04:06:30 -03:00
maxwell_to_vk.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
renderer_vulkan.cpp renderer_vulkan: assume X11 if not Windows/macOS after bf1d66b7c0 2020-04-19 00:32:23 +00:00
renderer_vulkan.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_blit_screen.cpp vk_blit_screen: Initialize all members in VkPipelineViewportStateCreateInfo 2020-04-15 03:30:08 -03:00
vk_blit_screen.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_buffer_cache.cpp buffer_cache: Return handles instead of pointer to handles 2020-04-16 02:33:34 -03:00
vk_buffer_cache.h buffer_cache: Return handles instead of pointer to handles 2020-04-16 02:33:34 -03:00
vk_compute_pass.cpp vk_compute_pass: Implement indexed quads 2020-04-16 21:12:32 -03:00
vk_compute_pass.h vk_compute_pass: Implement indexed quads 2020-04-16 21:12:32 -03:00
vk_compute_pipeline.cpp renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_compute_pipeline.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_descriptor_pool.cpp renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_descriptor_pool.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_device.cpp renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_device.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_graphics_pipeline.cpp fixed_pipeline_state: Pack blending state 2020-04-18 19:23:35 -03:00
vk_graphics_pipeline.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_image.cpp renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_image.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_memory_manager.cpp renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_memory_manager.h video_core: Amend doxygen comment references 2020-04-15 22:33:29 -04:00
vk_pipeline_cache.cpp fixed_pipeline_state: Pack rasterizer state 2020-04-18 19:22:57 -03:00
vk_pipeline_cache.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_query_cache.cpp renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_query_cache.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_rasterizer.cpp vk_rasterizer: Add lazy default buffer maker and use it for empty buffers 2020-04-21 19:55:52 -03:00
vk_rasterizer.h vk_rasterizer: Add lazy default buffer maker and use it for empty buffers 2020-04-21 19:55:52 -03:00
vk_renderpass_cache.cpp renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_renderpass_cache.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_resource_manager.cpp renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_resource_manager.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_sampler_cache.cpp renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_sampler_cache.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_scheduler.cpp renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_scheduler.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_shader_decompiler.cpp Merge pull request #3612 from ReinUsesLisp/red 2020-04-15 15:03:49 -04:00
vk_shader_decompiler.h vk_shader_decompiler: Use registry for specialization 2020-03-13 18:33:05 -03:00
vk_shader_util.cpp renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_shader_util.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_staging_buffer_pool.cpp vk_rasterizer: Add lazy default buffer maker and use it for empty buffers 2020-04-21 19:55:52 -03:00
vk_staging_buffer_pool.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_state_tracker.cpp DirtyFlags: relax need to set render_targets as dirty 2020-03-14 11:47:33 -04:00
vk_state_tracker.h state_tracker: Remove type traits with named structures 2020-02-28 17:56:43 -03:00
vk_stream_buffer.cpp vk_stream_buffer: Fix out of memory on boot on recent Nvidia drivers 2020-04-17 18:12:48 -03:00
vk_stream_buffer.h vk_stream_buffer: Fix out of memory on boot on recent Nvidia drivers 2020-04-17 18:12:48 -03:00
vk_swapchain.cpp renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_swapchain.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_texture_cache.cpp renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_texture_cache.h renderer_vulkan: Drop Vulkan-Hpp 2020-04-10 22:49:02 -03:00
vk_update_descriptor.cpp buffer_cache: Return handles instead of pointer to handles 2020-04-16 02:33:34 -03:00
vk_update_descriptor.h buffer_cache: Return handles instead of pointer to handles 2020-04-16 02:33:34 -03:00
wrapper.cpp renderer_vulkan/wrapper: Add vkEnumerateInstanceExtensionProperties wrapper 2020-03-31 21:32:08 -03:00
wrapper.h renderer_vulkan/wrapper: Add vkEnumerateInstanceExtensionProperties wrapper 2020-03-31 21:32:08 -03:00